package com.education.platform.api.vo.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
* describe: 收藏
* @author : tomato
* @date: 2020-06-06 02:55:52.529
**/
@ApiModel()
@Getter
@Setter
@ToString
public class CollectionUpdateVO {

    /**
     * 对象id
     */
    @ApiModelProperty("收藏的对象id")
    @NotNull(message = "收藏对象不能为空")
    private Integer topicId;
    /**
     * 状态(0=取消 1=收藏)
     */
    @ApiModelProperty("状态(false=取消 true=收藏)")
    @NotNull(message = "状态不能为空")
    private Boolean status;

    /**
     * 类型(0=课程   1=文章)
     */
    @ApiModelProperty("类型(0=课程   1=文章)")
    @NotNull(message = "对象类型不能为空")
    private Integer topicType;


}
